package com.dzsw.vt.create;

import com.dzsw.runnable.CustomRunnable;

public class StartVirtualThread {

    public static void main(String[] args) throws InterruptedException {
        CustomRunnable runnable = new CustomRunnable();
        Thread vt = Thread.startVirtualThread(runnable);
        vt.join(3000);
    }
}
